home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat1 / X11 / xedit.z / xedit
Encoding:
Text File  |  1998-10-30  |  10.7 KB  |  265 lines

  1.  
  2.  
  3.  
  4.      XXXXEEEEDDDDIIIITTTT((((1111))))            XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666))))             XXXXEEEEDDDDIIIITTTT((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           xedit - simple text editor for X
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           xxxxeeeeddddiiiitttt [ -_t_o_o_l_k_i_t_o_p_t_i_o_n ... ] [ _f_i_l_e_n_a_m_e ]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           _X_e_d_i_t provides a window consisting of the following four
  16.           areas:
  17.  
  18.           Commands Section         A set of commands that allow you to
  19.                                    exit _x_e_d_i_t, save the file, or load
  20.                                    a new file into the edit window.
  21.  
  22.           Message Window           Displays _x_e_d_i_t messages. In
  23.                                    addition, this window can be used
  24.                                    as a scratch pad.
  25.  
  26.           Filename Display         Displays the name of the file
  27.                                    currently being edited, and whether
  28.                                    this file is _R_e_a_d-_W_r_i_t_e or _R_e_a_d
  29.                                    _O_n_l_y.
  30.  
  31.           Edit Window              Displays the text of the file that
  32.                                    you are editing or creating.
  33.  
  34.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  35.           _X_e_d_i_t accepts all of the standard X Toolkit command line
  36.           options (see _X(1)).  The order of the command line options
  37.           is not important.
  38.  
  39.           _f_i_l_e_n_a_m_e
  40.                   Specifies the file that is to be loaded during
  41.                   start-up. This is the file which will be edited. If
  42.                   a file is not specified, _x_e_d_i_t lets you load a file
  43.                   or create a new file after it has started up.
  44.  
  45.      EEEEDDDDIIIITTTTIIIINNNNGGGG
  46.           The Athena Text widget is used for the three sections of
  47.           this application that allow text input.  The characters
  48.           typed will go to the Text widget that the pointer cursor is
  49.           currently over.  If the pointer cursor is not over a text
  50.           widget then the keypresses will have no effect on the
  51.           application.  This is also true for the special key
  52.           sequences that popup dialog widgets, so typing Control-S in
  53.           the filename widget will enable searching in that widget,
  54.           not the edit widget.
  55.  
  56.           Both the message window and the edit window will create a
  57.           scrollbar if the text to display is too large to fit in that
  58.           window.  Horizontal scrolling is not allowed by default, but
  59.           can be turned on through the Text widget's resources, see
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXEEEEDDDDIIIITTTT((((1111))))            XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666))))             XXXXEEEEDDDDIIIITTTT((((1111))))
  71.  
  72.  
  73.  
  74.           _A_t_h_e_n_a _W_i_d_g_e_t _S_e_t for the exact resource definition.
  75.  
  76.           The following keystroke combinations are defined:
  77.  
  78.           Ctrl-a    Beginning Of Line   Meta-b         Backward Word
  79.           Ctrl-b    Backward Character  Meta-f         Forward Word
  80.           Ctrl-d    Delete Next Character              Meta-iInsert File
  81.           Ctrl-e    End Of Line         Meta-k         Kill To End Of Paragraph
  82.           Ctrl-f    Forward Character   Meta-q         Form Paragraph
  83.           Ctrl-g    Multiply Reset      Meta-v         Previous Page
  84.           Ctrl-h    Delete Previous Character          Meta-yInsert Current Selection
  85.           Ctrl-j    Newline And Indent  Meta-z         Scroll One Line Down
  86.           Ctrl-k    Kill To End Of Line Meta-d         Delete Next Word
  87.           Ctrl-l    Redraw Display      Meta-D         Kill Word
  88.           Ctrl-m    Newline             Meta-h         Delete Previous Word
  89.           Ctrl-n    Next Line           Meta-H         Backward Kill Word
  90.           Ctrl-o    Newline And Backup  Meta-<         Beginning Of File
  91.           Ctrl-p    Previous Line       Meta->         End Of File
  92.           Ctrl-r    Search/Replace Backward            Meta-]Forward Paragraph
  93.           Ctrl-s    Search/Replace Forward             Meta-[Backward Paragraph
  94.           Ctrl-t    Transpose Characters
  95.           Ctrl-u    Multiply by 4       Meta-Delete    Delete Previous Word
  96.           Ctrl-v    Next Page           Meta-Shift DeleteKill Previous Word
  97.           Ctrl-w    Kill Selection      Meta-Backspace Delete Previous Word
  98.           Ctrl-y    Unkill              Meta-Shift BackspaceKill Previous Word
  99.           Ctrl-z    Scroll One Line Up
  100.  
  101.           In addition, the pointer may be used to cut and paste text:
  102.                Button 1 Down  Start Selection
  103.                Button 1 MotionAdjust Selection
  104.                Button 1 Up    End Selection (cut)
  105.  
  106.                Button 2 Down  Insert Current Selection (paste)
  107.  
  108.                Button 3 Down  Extend Current Selection
  109.                Button 3 MotionAdjust Selection
  110.                Button 3 Up    End Selection (cut)
  111.  
  112.  
  113.      CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
  114.           Quit    Quits the current editing session. If any changes
  115.                   have not been saved, _x_e_d_i_t displays a warning
  116.                   message, allowing the user to save the file.
  117.  
  118.           Save    If file backups are enabled (see RESOURCES, below)
  119.                   _x_e_d_i_t stores a copy of the original, unedited file
  120.                   in <prefix>_f_i_l_e<suffix>, then overwrites the _f_i_l_e
  121.                   with the contents of the edit window.  The filename
  122.                   is retrieved from the Text widget directly to the
  123.                   right of the _L_o_a_d button.
  124.  
  125.           Load    Loads the file named in the text widget immediately
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXEEEEDDDDIIIITTTT((((1111))))            XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666))))             XXXXEEEEDDDDIIIITTTT((((1111))))
  137.  
  138.  
  139.  
  140.                   to the right of the this button and displays it in
  141.                   the Edit window.  If the currently displayed file
  142.                   has been modified a warning message will ask the
  143.                   user to save the changes, or press _L_o_a_d again.
  144.  
  145.      RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS
  146.           For _x_e_d_i_t the available resources are:
  147.  
  148.           eeeennnnaaaabbbblllleeeeBBBBaaaacccckkkkuuuuppppssss ((((Class EEEEnnnnaaaabbbblllleeeeBBBBaaaacccckkkkuuuuppppssss))))
  149.                   Specifies that, when edits made to an existing file
  150.                   are saved, _x_e_d_i_t is to copy the original version of
  151.                   that file to <prefix>_f_i_l_e<suffix> before it saves
  152.                   the changes.  The default value for this resource is
  153.                   ``off,'' stating that no backups should be created.
  154.  
  155.           bbbbaaaacccckkkkuuuuppppNNNNaaaammmmeeeePPPPrrrreeeeffffiiiixxxx ((((Class BBBBaaaacccckkkkuuuuppppNNNNaaaammmmeeeePPPPrrrreeeeffffiiiixxxx))))
  156.                   Specifies a string that is to be prepended to the
  157.                   backup filename.  The default is that no string
  158.                   shall be prepended.
  159.  
  160.           bbbbaaaacccckkkkuuuuppppNNNNaaaammmmeeeeSSSSuuuuffffffffiiiixxxx ((((Class BBBBaaaacccckkkkuuuuppppNNNNaaaammmmeeeeSSSSuuuuffffffffiiiixxxx))))
  161.                   Specifies a string that is to be appended to the
  162.                   backup filename.  The default is to use ``.BAK'' as
  163.                   the suffix.
  164.  
  165.      WWWWIIIIDDDDGGGGEEEETTTTSSSS
  166.           In order to specify resources, it is useful to know the
  167.           hierarchy of the widgets which compose _x_e_d_i_t.  In the
  168.           notation below, indentation indicates hierarchical
  169.           structure.  The widget class name is given first, followed
  170.           by the widget instance name.
  171.  
  172.           Xedit  xedit
  173.                Paned  paned
  174.                     Paned  buttons
  175.                          Command  quit
  176.                          Command  save
  177.                          Command  load
  178.                          Text  filename
  179.                     Label  bc_label
  180.                     Text  messageWindow
  181.                     Label  labelWindow
  182.                     Text  editWindow
  183.  
  184.  
  185.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  186.           _D_I_S_P_L_A_Y             to get the default host and display
  187.                               number.
  188.  
  189.           _X_E_N_V_I_R_O_N_M_E_N_T        to get the name of a resource file that
  190.                               overrides the global resources stored in
  191.                               the RESOURCE_MANAGER property.
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 4/30/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXEEEEDDDDIIIITTTT((((1111))))            XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666))))             XXXXEEEEDDDDIIIITTTT((((1111))))
  203.  
  204.  
  205.  
  206.      FFFFIIIILLLLEEEESSSS
  207.           /_u_s_r/_l_i_b/_X_1_1/_a_p_p-_d_e_f_a_u_l_t_s/_X_e_d_i_t
  208.                               specifies required resources
  209.  
  210.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  211.           _X(1), _x_r_d_b(1), _A_t_h_e_n_a _W_i_d_g_e_t _S_e_t
  212.  
  213.      RRRREEEESSSSTTTTRRRRIIIICCCCTTTTIIIIOOOONNNNSSSS
  214.           There is no _u_n_d_o function.
  215.  
  216.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  217.           Copyright 1988, Digital Equipment Corporation.
  218.           Copyright 1989, X Consortium
  219.           See _X(1) for a full statement of rights and permissions.
  220.  
  221.      AAAAUUUUTTTTHHHHOOOORRRR
  222.           Chris D. Peterson, MIT X Consortium
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.      Page 4                                          (printed 4/30/98)
  262.  
  263.  
  264.  
  265.